Skip to contentSkip to conversation

ACM not enabled with xen-unstable

DISCUSSION Dilshan Jayarathna 2 participants 5 messages Sep 24, 2008 – Sep 25, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I am trying build Xen with XSM enabled using xen-unstable.hg.

When I do:

# xm getpolicy
I get:
Supported security subsystems: None

It looks like it is creating all accessory directories, etc., but ACM doesn't seems to be enabled.

Config.mk file has:
# Enable XSM security module. Enabling XSM requires selection of an # XSM security module (FLASK_ENABLE or ACM_SECURITY). XSM_ENABLE ?= y
FLASK_ENABLE ?= n
ACM_SECURITY ?= y

Build and install completes without errors. I also updated the unstable.hg using 'hg pull -u', but no luck. I've built 3.2.1 as well as 3.3.0 with ACM enabled and everything seems to be OK.

Is there anything extra I should do with xen-unstable.hg?

OS: CentOS 5.2 (i386)

Regards,
Dilshan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

I bet the problem is that you don¹t have an entry like, (xsm_module_name acm) in your xend-config.sxp file. A patch was recently introduced into the python tool chain that removed some autogenerated python code based on these variables in favor of a key-value pair set in xend-config.sxp. The default setting is dummy and if you have a pre-existing xend-config, you don't get a default key-value entry on a fresh -unstable install.

George

Quoted 36 lines · Dilshan Jayarathna

Hi,

I am trying build Xen with XSM enabled using xen-unstable.hg.

When I do:

# xm getpolicy
I get:
Supported security subsystems: None

It looks like it is creating all accessory directories, etc., but ACM doesn't seems to be enabled.

Config.mk file has:
# Enable XSM security module. Enabling XSM requires selection of an # XSM security module (FLASK_ENABLE or ACM_SECURITY). XSM_ENABLE ?= y
FLASK_ENABLE ?= n
ACM_SECURITY ?= y

Build and install completes without errors. I also updated the unstable.hg using 'hg pull -u', but no luck.
I've built 3.2.1 as well as 3.3.0 with ACM enabled and everything seems to be OK.

Is there anything extra I should do with xen-unstable.hg?

OS: CentOS 5.2 (i386)

Regards,
Dilshan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
George S. Coker, II <[email protected]>
#2 lore raw

Hi George,

Indeed, you're correct. It wasn't even uncommented.

I'll try with (xsm_module_name acm).

What would be the best suitable version for try out XSM/ACM? I was thinking xen-unstable due to constant patches.

Thanks,
Dilshan

Quoted 8 lines · II

I bet the problem is that you don¹t have an entry like, (xsm_module_name acm) in your xend-config.sxp file. A patch was recently introduced into the python tool chain that removed some autogenerated python code based on these variables in favor of a key-value pair set in xend-config.sxp. The default setting is dummy and if you have a pre-existing xend-config, you don't get a default key-value entry on a fresh -unstable install.

Quoted 45 lines

George

Quoted 37 lines · Dilshan Jayarathna

Hi,

I am trying build Xen with XSM enabled using xen-unstable.hg.

When I do:

# xm getpolicy
I get:
Supported security subsystems: None

It looks like it is creating all accessory directories, etc., but ACM doesn't seems to be enabled.

Config.mk file has:
# Enable XSM security module. Enabling XSM requires selection of an # XSM security module (FLASK_ENABLE or ACM_SECURITY). XSM_ENABLE ?= y
FLASK_ENABLE ?= n
ACM_SECURITY ?= y

Build and install completes without errors. I also updated the unstable.hg using 'hg pull -u', but no luck.
I've built 3.2.1 as well as 3.3.0 with ACM enabled and everything seems to be OK.

Is there anything extra I should do with xen-unstable.hg?

OS: CentOS 5.2 (i386)

Regards,
Dilshan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

While I do maintain XSM and XSM/FLASK, I’m not that familiar with XSM/ACM. I don’t believe any significant
ACM patches have been committed to -unstable since the 3.3 release. The issue that you uncovered is due to
a recent patch to ­unstable, 3.3 is unaffected.

Quoted 80 lines · Dilshan Jayarathna

Hi George,

Indeed, you're correct. It wasn't even uncommented.

I'll try with (xsm_module_name acm).

What would be the best suitable version for try out XSM/ACM? I was thinking xen-unstable due to constant patches.

Thanks,
Dilshan

Quoted 9 lines · II

I bet the problem is that you don¹t have an entry like, (xsm_module_name acm) in your xend-config.sxp file. A patch was recently introduced into the python tool chain that removed some autogenerated python code based on these variables in favor of a key-value pair set in xend-config.sxp. The default setting is dummy and if you have a pre-existing xend-config, you don't get a default key-value entry on a fresh -unstable install.

Quoted 52 lines

George

Quoted 41 lines · On 9/23/08 8:00 PM, "Dilshan Jayarathna" <[email protected]>…

Hi,

I am trying build Xen with XSM enabled using xen-unstable.hg.

When I do:

# xm getpolicy
I get:
Supported security subsystems: None

It looks like it is creating all accessory directories, etc., but ACM doesn't
seems to be enabled.

Config.mk file has:
# Enable XSM security module. Enabling XSM requires selection of an # XSM security module (FLASK_ENABLE or ACM_SECURITY). XSM_ENABLE ?= y
FLASK_ENABLE ?= n
ACM_SECURITY ?= y

Build and install completes without errors. I also updated the unstable.hg using 'hg pull -u', but no luck.
I've built 3.2.1 as well as 3.3.0 with ACM enabled and everything seems to be
OK.

Is there anything extra I should do with xen-unstable.hg?

OS: CentOS 5.2 (i386)

Regards,
Dilshan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
George S. Coker, II <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

Thanks. I'll stick to 3.3 then.

Dilshan

Quoted 91 lines · II

While I do maintain XSM and XSM/FLASK, I’m not that familiar with XSM/ACM. I don’t believe any significant
ACM patches have been committed to -unstable since the 3.3 release. The issue that you uncovered is due to
a recent patch to --unstable, 3.3 is unaffected.

On 9/24/08 8:30 PM, "Dilshan Jayarathna" <[email protected]> wrote:

Hi George,

Indeed, you're correct. It wasn't even uncommented.

I'll try with (xsm_module_name acm).

What would be the best suitable version for try out XSM/ACM? I was thinking xen-unstable due to constant patches.

Thanks,
Dilshan

George S. Coker, II wrote:

I bet the problem is that you don¹t have an entry like, (xsm_module_name acm) in your xend-config.sxp file. A patch was recently
introduced into the python tool chain that removed some autogenerated python
code based on these variables in favor of a key-value pair set in xend-config.sxp. The default setting is dummy and if you have a pre-existing xend-config, you don't get a default key-value entry on a fresh
-unstable install.

George

On 9/23/08 8:00 PM, "Dilshan Jayarathna" <[email protected]> <mailto:[email protected]> wrote:

Hi,

I am trying build Xen with XSM enabled using xen-unstable.hg.

When I do:
# xm getpolicy
I get:
Supported security subsystems: None

It looks like it is creating all accessory directories, etc., but ACM doesn't
seems to be enabled.

Config.mk file has:
# Enable XSM security module. Enabling XSM requires selection of an
# XSM security module (FLASK_ENABLE or ACM_SECURITY). XSM_ENABLE ?= y
FLASK_ENABLE ?= n
ACM_SECURITY ?= y

Build and install completes without errors. I also updated the unstable.hg
using 'hg pull -u', but no luck.
I've built 3.2.1 as well as 3.3.0 with ACM enabled and everything seems to be
OK.

Is there anything extra I should do with xen-unstable.hg?

OS: CentOS 5.2 (i386)

Regards,
Dilshan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 9 lines

------------------------------------------------------------------------
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Signature · 1 line
George S. Coker, II <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel